<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
<title>{$region['title']}</title>
<link rel="stylesheet" type="text/css" href="{MODULE_URL}template/mobile/style/style1/static/css/home.css" />
<link rel="stylesheet" type="text/css" href="{MODULE_URL}template/mobile/style/style1/static/css/style.css" />
<!--组件依赖js begin-->
    <script type="text/javascript" src="{MODULE_URL}template/mobile/style/style1/static/js/zepto.js"></script>
    <script type="text/javascript" src="{MODULE_URL}template/mobile/style/style1/static/js/zepto.extend.js"></script>
    <script type="text/javascript" src="{MODULE_URL}template/mobile/style/style1/static/js/zepto.ui.js"></script>
    <script type="text/javascript" src="{MODULE_URL}template/mobile/style/style1/static/js/zepto.fix.js"></script>
    <!--刷新-->
    <script type="text/javascript" src="{MODULE_URL}template/mobile/style/style1/static/js/refresh.js"></script>


<body>
    <div id='slider' class='swipe'>
        <div class='swipe-wrap'>
            {loop $slides $row}
            <div class='wrap'>
                <a href="{$row['url']}">
                    <img src="{$_W['attachurl']}{$row['thumb']}" alt="{$row['title']}" style="width:100%;" width='100%' height='160px' />
                </a>
            </div>
            {/loop}
        </div>
    </div>
    <div style="height:10px;width:100%"></div>
    <!-- <section class="floor discount-floor">
        <div class="border-t"></div>
        <ul>
            <li onclick="#" class="border-r"><img src="{MODULE_URL}template/mobile/style/style1/static/image/active1.jpg"></li>
            <li onclick="#"><img src="{MODULE_URL}template/mobile/style/style1/static/image/active2.jpg"></li>
        </ul>
        <div class="border-b"></div>
    </section> -->
    <!-- <section class="floor">
        <div class="border-t"></div>
        <h2 class="floor-title co-yellow" style="line-height:12px;">物业服务<i></i><span onclick="javascript:window.location.href='{php echo $this->createMobileUrl('nav')}';">所有服务</span></h2>
        <div class="border-b" style="top:44px"></div>
        <ul class="floor-menu-1">
            {loop $navs $nav}
            <li onclick="javascript:window.location.href='{$nav['url']}'"><img src="{$nav['thumb']}">
                <div>{$nav['title']}</div>
            </li>
        {/loop}
        </ul>
        <div class="border-b"></div>
    </section> -->
   {loop $list $row}
    
    <section class="floor">
        <div class="border-t"></div>
        <h2 class="floor-title co-yellow" style="line-height:12px;">{$row['title']}<i></i><span onclick="javascript:window.location.href='{php echo $this->createMobileUrl('nav')}';">所有服务</span></h2>
        <div class="border-b" style="top:44px"></div>
        <ul class="floor-menu-1">
        {loop $children[$row['id']] $item}
            <li onclick="javascript:window.location.href='{$item['url']}'"><img src="{php echo tomedia($item['thumb'])}" style="width:39px;height:39px;">
                <div>{$item['title']}</div>
            </li>
            {/loop}
        </ul>

        <div class="border-b"></div>
    </section>
    
    {/loop}
    <!--加载更多 e-->
    <div style="height:5em;"></div>

    <!-- 底部 -->
     {template 'style/style1/footer'}
    <script type="text/javascript" src="{MODULE_URL}template/mobile/style/style1/static/js/swipe.js"></script>
    <script>
    $(function() {
        new Swipe($('#slider')[0], {
            speed: 500,
            auto: 3000,
            callback: function() {
                var lis = $(this.element).next("ol").children();
                lis.removeClass("on").eq(this.index).addClass("on");
            }
        });
    });
    $(function() {
        select('a1');
    });
    </script>

    
</body>

</html>
